<script setup lang="ts">
import {SuccessFilled} from "@element-plus/icons-vue";
</script>

<template>
  <div class="payment-success">
    <div class="icon">
      <el-icon color="#0dcb0d" size="80">
        <SuccessFilled/>
      </el-icon>
      支付成功
    </div>
    <div style="margin-top: 50px;">
      <a href="/" class="a-link">返回首页</a>
    </div>
  </div>
</template>

<style scoped>
.a-link {
  font-weight: bold;
  color: #5d65f6;
  font-size: 20px;
}

.payment-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 200px;
}

.icon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}
</style>